package com.linln.admin.SpringBoot.repository;

import com.linln.admin.SpringBoot.domain.Device;
import com.linln.modules.system.repository.BaseRepository;
import org.springframework.data.jpa.repository.Query;

/**
 * @author Airili
 * @date 2020/12/22
 */
public interface DeviceRepository extends BaseRepository<Device, Long> {
    @Query(value="select * from t_device where id = ?1",nativeQuery=true)
    Device findByIdd(Long id);
}